<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<%@ page isELIgnored ="false" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>前台管理--友情连接管理</title>
<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
<script language="javascript" type="text/javascript" src="${ctx}/script/Date/WdatePicker.js"></script>
<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
</head>

<body>

<html:form action="/others/linkManage" method="post">
<input type="hidden" name="method" value="list"/>

<table width="98%" align="center" >
	 <tr>
	    	<th class="td_01">网站</th>	    	
	    	<th class="td_01">网址</th>
	    	<th class="td_01">顺序</th>
	    	<th class="td_01">logo</th>
			<th class="td_01">操作</th>
	    </tr>
	<logic:present name="linkRange">
		<logic:iterate id="link" name="linkRange" property="records">
			<tr>
				<td class="td_03">${link.name}</td>
				<td class="td_03"><a href="${link.url}">${link.url}</a></td>
				<td class="td_03">${link.sequence}</td>
				<td class="td_03"><img src="${link.image}" width="100" height="30" alt="没有这个图片" title="${link.name}"/></td>
				<td class="td_03">
				<a href="#"	onmousedown="if(confirm('是否删除？')==true) location.href='${ctx}/others/linkManage.do?method=delete&link.id=${link.id}'">删除</a>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="${ctx}/others/linkManage.do?method=edit&link.id=${link.id}">编辑</a>
				</td>
			</tr>
		</logic:iterate>
	</logic:present>
	<tr>
		<td colspan="5" align="right">
			<div style="float:left"><a href="${ctx}/others/linkManage.do?method=add">&nbsp;&nbsp;添&nbsp;&nbsp;加</a></div>
			<%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;
		</td>
	</tr>
</table>
</html:form>
</body>
</html>